import request from '@/utils/request'

export const register = (data) => {
  return request({ url: '/user/register', method: 'POST', data })
}
export const login = (data) => {
  return request({ url: '/user/login', method: 'POST', data })
}
